package com.wn.entity;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @ author     ：NST
 * @ date       ：Created in 2022/10/19 11:54
 * @ description：借用返还入库申请单
 * @ modified By：
 * @ version:     1.0
 */
@Data
public class ReturnInWarehouseApplication {
    private int id;
    @NotNull(message = "申请人不能为空")
    private Hr applicant;                             //申请人
    private String inWarehouseTime;                   //入库时间
    @NotNull(message = "库存台账信息不能为空")
    private InventoryBookkeeping inventoryBookkeeping;//库存台账信息
    @Min(value = 1,message = "数量不能少于1")
    private int number;                               //数量
    private String activitiInstanceId;                 //流程id
    private String identifier;                        //申请表编号
}
